public class ExitCommand implements Command {
    private SystemExitClass systemExit;

    public ExitCommand(SystemExitClass systemExit) {
        this.systemExit = systemExit;
    }

    @Override
    public void execute() {
        systemExit.exit();
    }
}
